46ca7831204b83c4ae5a25525b647af022abcbd9,plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/editor/quickfix/XtextQuickAssistAssistant.java,XtextQuickAssistProcessor,getIssueFromAnnotation,#Annotation#IAnnotationModel#IXtextDocument#,220
Before Change
issue.setCode(MarkerTypes.getCode(markerAnnotation));
issue.setUriToProblem(getUriToProblem(markerAnnotation));
issue.setSeverity(getSeverityFromMarker(markerAnnotation.getMarker()));
// Note, isSyntaxError is unset, but currently the api does not allow fixing
// syntax errors anyway.
After Change
return xtextAnnotation.getIssue();
} else if(annotation instanceof MarkerAnnotation) {
MarkerAnnotation markerAnnotation = (MarkerAnnotation)annotation;
Issue.IssueImpl issue = (IssueImpl) IssueUtil.createIssue(markerAnnotation.getMarker());
return issue;
} else
return null;